<#if isLoading>
	<assign dialog_title="Load Menu Theme">
<#elseif isSaving>
	<assign dialog_title="Save Menu Theme">
<#elseif isApplying>
	<assign dialog_title="Apply Menu Theme">
<#endif>

<+b_dialog  dw=700 dialog_space=0 dialog_nogroup=1>
<assign optLabelWidth=70>
<table>
<tr>
	<td>
		<input type=listbox name=themeList ownerdraw=1 singlesel=1 width=350 height=410>
	</td>
	<td width=1 bgcolor=#colorFrame></td>
	<td width=#ds></td>
	<td bgcolor=#colorDialog>
		<img height=#ds>
		<+b_box label="Theme Name" width=336>
			<center>
			<table cellspacing=#ds>
			<tr>
				<td width=#optLabelWidth align=right><img height=3><br>Name</td>
				<td><input type=text name=themeName width=200></td>
			</tr>
			</table>
			</center>
		<+e_box>
		<img height=#ds>
		<+b_box label="Category" width=336 box_bar=1 box_space=0>
			<img height=#ds><br>
			<center>
				<table cellspacing=#ds>
				<tr>
					<td width=#optLabelWidth align=right><img height=3><br>Category</td>
					<td><input type=text name=themeCategory width=200></td>
				</tr>
				</table>
			</center>
			<img height=#ds><br>
			<img height=1 width=336 bgcolor=#colorFrame>
			<input type=listbox name=categoryList sort=1 singlesel=1 width=333 height=244>
		<+e_box>
	</td>
</tr>
</table>
<+d_dialog>
	<table>
	<tr>
		<td width=60>
			<img height=4><br>
			<input type=button name=del toolbar=1 width=60 height=20 xpar=images/button_remove.png  grayxpar=images/button_remove.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog nofade=1 alt="Remove selected theme" ascent=20>
		</td>
		<td width=#dw-80 align=right>
			<#if isLoading>
				<input type=button name=doAction value="Load" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
			<#elseif isSaving>
				<input type=button name=doAction value="Save" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
			<#elseif isApplying>
				<input type=button name=doAction value="Apply" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
			<#endif>			
			<img width=#ds>
			<input type=button name=cancel value="Cancel" width=#dbw height=#dbh>
		</td>
	</tr>
	</table>
<+e_dialog>	
				
